/**
 * @projectName demo-master
 * @fileName RemoteClient.java
 * @packageName org.example.feign.client
 * @author xaoyaoyao
 * @date 2021/3/24 17:08
 * @version V1.0
 * @copyright (c) 2021, xaoyaoyao@aliyun.com All Rights Reserved.
 */
package org.example.feign.client;

import org.example.feign.service.RemoteHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @className RemoteClient
 * @description
 * @author xaoyaoyao
 * @date 2021/3/24 17:08
 */
@FeignClient(name = "service-provider",fallback = RemoteHystrix.class)
public interface RemoteClient {

	@GetMapping("/helloNacos")
	String helloNacos();
}
